package cn.edu.xmu.oomall.aftersales.model.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author Jiawei Zheng
 * @date 2021-12-11
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AcceptAfterSaleVo {
    @NotNull
    Boolean confirm;

    @Min(0)
    Long price;

    String conclusion;

    @Max(2)
    @Min(1)
    Byte type;
}
